package com.zhanglong.service;

import com.sun.org.apache.xpath.internal.operations.Or;
import com.zhanglong.mapper.OrderMapper;
import com.zhanglong.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserService {

    @Autowired
    private UserMapper userMapper;

    @Autowired
    private OrderMapper orderMapper;

    public void test() {
        System.out.println(userMapper.getUserName());
        System.out.println(orderMapper.getUserName());
    }
}
